<template>
	<el-dialog title="新增菜单" :visible.sync="dialogVisible" width="40%">
		<el-form ref="form" label-width="80px" style="padding: 40px; ">
			<el-form-item label="部门名称">
				<el-input v-model="form.name"></el-input>
			</el-form-item>
		</el-form>
		<p slot="footer" class="dialog-footer" style="width: 100%;text-align: center;">
			<el-button @click="dialogVisible = false">取 消</el-button>
			<el-button type="primary" @click="save()">确定</el-button>
		</p>
	</el-dialog>
</template>

<script>
	
	export default {
		name:"AddDept",
	    data() {
	      return {
	        dialogVisible: false
	      };
	    },
	    methods: {
			handleClose(done) {
				this.$confirm('确认关闭？')
				  .then(_ => {
					done();
				})
				.catch(_ => {});
			}
	    }
	};
</script>

<style>
</style>
